<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ include file="session-check.jsp"%>
<!DOCTYPE html>
<html lang="zh-cn">
    <head>
        <meta charset="utf-8" />
        <meta name="description" content="对网页的一段概括性描述"/>
        <meta name="keywords" content="关键字1,关键字2,关键字3..."/>
        <meta name="renderer" content="webkit">
        <title>Hiring-企业登录</title>
        <link rel="shortcut icon" href="<%=request.getContextPath()%>/static/common/images/favicon.ico"/>
        <link rel="stylesheet" href="<%=request.getContextPath()%>/static/common/vendor/bootstrap/css/bootstrap.min.css" />
        <link rel="stylesheet" href="<%=request.getContextPath()%>/static/company/styles/login.css" />
	    <!--[if lt IE 9]>
	      <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.js"></script>
	      <script src="http://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
	    <![endif]-->
    </head>
    <body>
	 		<div class="container">
		<ol class="breadcrumb">
			<li class="active">信息修改</li>
		</ol>
		<c:if test="${! empty param.result }">
			<div class="alert alert-warning alert-dismissible fade in"
				role="alert">
				<button type="button" class="close" data-dismiss="alert">
					<span aria-hidden="true">×</span><span class="sr-only">Close</span>
				</button>
				<strong>信息修改失败!</strong>
			</div>
		</c:if>
		<form class="form-horizontal" role="form" action="CompanyServlet?command=updateMassage&id=${sessionScope.companyEntity.id }"
			method="POST">
			<div class="form-group">
				<label for="companyname" class="col-sm-2 control-label">账号：</label>
				<div class="col-sm-10">
				<input class="form-control" id="disabledInput" type="text" placeholder="${companyEntity.code} " disabled>
				</div>
			</div>
			
			
			<div class="form-group">
				<label for="companyname" class="col-sm-2 control-label">公司名称：</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" autofocus="autofocus" 
					name="companyname" value="${companyEntity.name }">
				</div>
			</div>
			<div class="form-group">
				<label for="email" class="col-sm-2 control-label">邮箱：</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" 
						name="email" value="${companyEntity.email }">
				</div>
			</div>
			<div class="form-group">
				<label for="phone" class="col-sm-2 control-label">电话：</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" 
						name="phone" value="${companyEntity.phone }">
				</div>
			</div>
			<div class="form-group">
				<label for="linkman" class="col-sm-2 control-label">联系人：</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" 
						name="linkman" value="${companyEntity.linkman }">
				</div>
			</div>
			<div class="form-group">
				<label for="address" class="col-sm-2 control-label">公司地址：</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" 
						name="address" value="${companyEntity.address }">
				</div>
			</div>
			<div class="form-group">
				<label for="numbers" class="col-sm-2 control-label">公司人数：</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" 
						name="numbers" value="${companyEntity.numbers }">
				</div>
			</div>
			<div class="form-group">
				<label for="slogan" class="col-sm-2 control-label">公司服务宗旨：</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" 
						name="slogan" value="${companyEntity.slogan }">
				</div>
			</div>
			<div class="form-group">
				<div class="col-sm-offset-2 col-sm-10">
					<button type="submit" class="btn btn-primary">修改</button>
					<input type="reset" value="重置" class="btn btn-primary"/>
					<button type="button" class="btn btn-default" onclick="history.back();">返 回</button>
				</div>
			</div>
		</form>
	</div>
	    
		<script src="<%=request.getContextPath()%>/static/common/vendor/jquery.min.js"></script>
		<script src="<%=request.getContextPath()%>/static/common/vendor/bootstrap/js/bootstrap.min.js"></script>
		<script src="<%=request.getContextPath()%>/static/common/vendor/layer/layer.js"></script>
		<script src="<%=request.getContextPath()%>/static/common/vendor/nice-validator-1.0.7/dist/jquery.validator.min.js?local=zh-CN"></script>
    </body>
</html>
